﻿<%@ Page Title="Contact Us" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Contact Us.aspx.cs" Inherits="Contact_Us" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <style type="text/css">
        .style1
    {
        color: #000000;
            text-align: left;
        }
    #TextArea1
    {
        height: 87px;
        width: 345px;
    }
    .style2
    {
        color: #000000;
            text-align: center;
        }
    .style3
    {
        color: #000000;
        text-align: center;
            height: 34px;
            background-color: #E3EAEB;
        }
        .style4
        {
            color: #FFFFFF;
            font-size: 1.5em;
            background-color: #506272;
        }
        #txtDescription
        {
        }
        .style5
        {
            color: #000000;
            width: 176px;
            text-align: center;
            font-weight: normal;
            background-color: #465767;
        }
        .style6
        {
            color: #FFFFFF;
            text-align: left;
            line-height: normal;
            font-size: small;
            margin: 0px auto;
            padding-left: 0px;
            padding-right: 0px;
            padding-top: 8px;
            padding-bottom: 0px;
            background-color: #E3EAEB;
        }
        .style7
        {
            color: #FFFFFF;
            width: 176px;
            text-align: center;
            background-color: #465767;
        }
        .style8
        {
            color: #FFFFFF;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <br />
    <table style="width:100%;">
        <tr>
            <td class="style4" colspan="2">
                <strong>Contact Us</strong></td>
        </tr>
        <tr>
            <td colspan="2">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style5" align="center" valign="middle">
                <asp:Label ID="Label2" runat="server" ForeColor="Red" Text="*" 
                    CssClass="style8"></asp:Label>
                <span class="style8">&nbsp;Category:&nbsp;
            </span>
            </td>
            <td class="style6">
                &nbsp;
                <asp:DropDownList ID="DropDownListCategory" runat="server" 
                    style="text-align: left">
                    <asp:ListItem Selected="True">Suggestion</asp:ListItem>
                    <asp:ListItem>Report Bug</asp:ListItem>
                    <asp:ListItem>Complaint</asp:ListItem>
                    <asp:ListItem>Enquiry</asp:ListItem>
                    <asp:ListItem>Others</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="style5" valign="middle" align="center">
                <asp:Label ID="Label3" runat="server" ForeColor="Red" Text="*" 
                    CssClass="style8"></asp:Label>
                <span class="style8">&nbsp;Description:
            </span>
            </td>
            <td class="style6" valign="middle">
                &nbsp;
                <asp:TextBox ID="txtDescription" runat="server" Height="117px" 
                    TextMode="MultiLine" Width="295px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtDescription" 
                    ErrorMessage="* Required to have Description" style="color: #FF0000"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style7" valign="middle" align="center">
                Email:</td>
            <td class="style6" valign="top">
                &nbsp;
                <asp:TextBox ID="txtEmail" runat="server" Width="295px"></asp:TextBox>
            &nbsp;
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ErrorMessage="* Invaild email address" style="color: #FF0000" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                    ControlToValidate="txtEmail" Display="Dynamic"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td class="style3" valign="middle" colspan="2">
                <asp:Label ID="Label1" runat="server" ForeColor="Red" 
                    Text="* denote mandatory field"></asp:Label>
                </td>
        </tr>
        <tr>
            <td class="style2" colspan="2" valign="top">
                <br />
                <asp:Button ID="ButtonSubmit" runat="server" Text="Submit" 
                    onclick="ButtonSubmit_click" />
                <br />
            </td>
        </tr>
    </table>
</asp:Content>

